<form action="statics_go.manage.php" method="get" id="form_p_list" onsubmit="return ajax_list();">
	<table width="680" border="0" cellspacing="0" cellpadding="0" class="from_table">
  <tr>
<th colspan="3" style=" text-align:left; padding-left:10px;"><a href="javascript:;" onclick="ajax_link();"><tpl> $langSysSByAccessPageFlux </tpl></a>  |  <tpl> $langSysSByAccessPageFluxDirection </tpl>
	<input type="hidden" name="action" value="trend" />
</th></tr>
	<tr><th>*  <tpl> $langSysSPleaseFillInURL </tpl></th><td width="300"> <input name="url" id="url" class="txtinput" type="text" value="<tpl> $url </tpl>" /></td><td width="200"></td></tr>
		　<tr><th><tpl> $langSysSPleaseSelectTime </tpl>：</th>
		<td width="300"><input name="time" type="radio" value="1" <tpl> if $time eq '1' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSNonceWeek </tpl>
		<input name="time" type="radio" value="2" <tpl> if $time eq '2' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSUpWeek </tpl>
		<input name="time" type="radio" value="3" <tpl> if $time eq '3' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSNonceMonth </tpl>
		<input name="time" type="radio" value="4" <tpl> if $time eq '4' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSUpMonth </tpl>
		<input name="time" type="radio" value="5" <tpl> if $time eq '5' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSLatelyThirtyDay </tpl></td>
	<td width="200"><span class="btn_left"><input name="submit" class="btn_submit" type="submit" value="<tpl> $langSysSBeginContrast </tpl>" /></span></td></tr>
	
	<tr><th><tpl> $langSysSNonceTimeSegment </tpl>：</th><td><tpl> $start_time </tpl> <tpl> $langSysSTo </tpl> <tpl> $end_time </tpl></td></tr></table></form>
	<table width="680" border="0" style="float:left; clear:both" cellspacing="0" cellpadding="0" >
 <tr>
 <td style="padding-left:10px">
	<tpl> $statics_flash </tpl> 
	</td></tr></table>
<table class="from_table2_one top-1" >
  <thead>
   <tr class="area_ajax_list_title">
	<th class="pd-left"><tpl> $langSysSTimeSegment </tpl></th>
	<th>PV</th>
	<th><tpl> $langSysSPercent </tpl></th>
  </tr>
  </thead>
  <tr>
  	<td class="pd-left" align="left"><tpl> $langSysSTotalize </tpl></td>
    <td align="left"><tpl> $num_sum|default:'0' </tpl></td>
	<td align="left">100%</td>
  </tr>
  <tpl> foreach from=$date_go_array item=one key=key </tpl>
	  <tr>
		<td class="pd-left" align="left"><tpl> $one.time </tpl></td>
		<td align="left"><tpl> $one.pv </tpl></td>
		<td align="left"><tpl> if $num_sum neq '' && $num_sum neq '0' </tpl>
				<tpl> $one.pv/$num_sum*100|string_format:'%.2f' </tpl>%
			<tpl> else </tpl>
				0.00%
			<tpl> /if </tpl>
		</td>
	  </tr>
  <tpl> /foreach </tpl>
</table>
<script language="javascript" type="text/javascript">
function ajax_list(){
	/* 取表单参数 */var queryString=$("#form_p_list").formSerialize();

	$.ajax({
		url: "statics_go.manage.php",
		data: queryString,
		type:'post',
		dataType:"html",
		beforeSubmit:  showLoading(showText),   // 提交之前执行的方法
		success: function(msg){
			$("#result_content").html(msg);
			hideLoading();
		}
	});
	return false;
}

/* 切换页面 */function ajax_link(){
	$.ajax({
		url: "statics_go.manage.php",
		data: 'action=list',
		type:'get',
		dataType:"html",
		beforeSubmit:  showLoading(showText),   // 提交之前执行的方法
		success: function(msg){
			$("#result_content").html(msg);
			hideLoading();
		}
	});
	return false;
}
</script>